package com.youpingou.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.youpingou.domain.Address;
import com.youpingou.domain.Category;

import javax.servlet.http.HttpServletRequest;
import java.util.List;


public interface AddressService extends IService<Address> {
    public List<Address> findAddressByUserId(HttpServletRequest request);

    public Address findAddressByAddressId(Integer addressId);

    Integer addAddress(Address address,HttpServletRequest request);

    Integer updateAddress(Address address);
}